#ifndef __MESHMAP_H__
#define __MESHMAP_H__

#include "map.h"
#include "src/physics/be_physics_material.h"
#include "src/common/be_xml_helper.h"

class MeshMap : public Map
{
	public:
		MeshMap(boost::shared_ptr<btDynamicsWorld> ownerWorld);
		virtual ~MeshMap();

		
	protected:
		
		void load(const char* mapname);
		bool loadPhysicsMaterials(const std::string &path);
		virtual void draw();


	private:

	typedef std::map< std::string, BePhysicsMaterial > PhysicsMaterialMap;
	PhysicsMaterialMap m_physicsMaterialMap;
};

#endif //__MESHMAP_H__
